<?php
if(isset($_COOKIE['username']))
{
	include 'mysql_connect.php';	
	$username=$_COOKIE['username'];	
	$uid=mysql_query("SELECT `uid` FROM `bbs_member` WHERE `username`='$username' ");	
	$uid=mysql_fetch_array($uid);
	$uid=$uid['uid'];	
	header("location:my_zone.php?uid=$uid");
}
?>